from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
+
status, output = traceCommand("xm block-attach NOT-EXIST phy:ram1 sdb1 w")
eyecatcher = "Error"
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
return 0, None
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
+
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
+
# Mount /dev/ram0
s, o = traceCommand("mkfs /dev/ram0")
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-attach not supported for VMX domains")
+
config = {"disk":"phy:/dev/ram0,hda1,w"}
dom1 = XmTestDomain(extraConfig=config)
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
+
config = {"disk":"phy:/dev/ram0,hda1,w"}
domain = XmTestDomain(extraConfig=config)
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
+
config = {"disk":"phy:/dev/ram0,hda1,w"}
domain = XmTestDomain(extraConfig=config)
else:
return False
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-detach not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
+
config = {"disk":"phy:/dev/ram0,hda1,w"}
domain = XmTestDomain(extraConfig=config)
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
+
config = {"disk":"phy:/dev/ram0,hda1,w"}
domain = XmTestDomain(extraConfig=config)
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
+
domain = XmTestDomain()
try:
if status != 0:
FAIL("xm block-list returned bad status, expected 0, status is %i" % status)
-if ENABLE_VMX_SUPPORT:
- SKIP("Using block device for root, so this case does not apply")
-
if output != "":
FAIL("xm block-list should not list anything for domain with no block devices")
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Block-list not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-max not supported for VMX domains")
status, output = traceCommand("xm mem-max")
eyecatcher = "Error:"
import time
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-set not supported for VMX domains")
+
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-set not supported for VMX domains")
+
# destroy no parm input - negative test
status, output = traceCommand("xm mem-set")
eyecatcher = "Error:"
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-set not supported for VMX domains")
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Mem-set not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Migrate currently not supported for VMX domains")
+
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
from network_utils import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Network-attach not supported for VMX domains")
+
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
from network_utils import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Network-attach not supported for VMX domains")
+
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
from network_utils import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Network-attach not supported for VMX domains")
+
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Restore currently not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Restore currently not supported for VMX domains")
+
status, output = traceCommand("xm restore -x")
eyecatcher1 = "Error:"
eyecatcher2 = "Traceback"
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Restore currently not supported for VMX domains")
+
status, output = traceCommand("xm restore /tmp/NON_EXIST")
eyecatcher1 = "Error:"
eyecatcher2 = "Traceback"
import re
+if ENABLE_VMX_SUPPORT:
+ SKIP("Restore currently not supported for VMX domains")
+
config = {"disk": ["phy:/dev/ram0,hda1,w", "phy:/dev/ram1,hdb2,w"],
"vif": ['', '']}
domain = XmTestDomain(extraConfig=config)
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Save currently not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Save currently not supported for VMX domains")
+
status, output = traceCommand("xm save -x")
eyecatcher1 = "Error:"
eyecatcher2 = "Traceback"
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Save currently not supported for VMX domains")
+
domain = XmTestDomain()
try:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Sysrq not supported for VMX domains")
+
status, output = traceCommand("xm sysrq does_not_exist s");
if status == 0:
from XmTestLib import *
+if ENABLE_VMX_SUPPORT:
+ SKIP("Sysrq not supported for VMX domains")
+
# Create a domain (default XmTestDomain, with our ramdisk)
domain = XmTestDomain()
import time
+if ENABLE_VMX_SUPPORT:
+ SKIP("Sysrq not supported for VMX domains")
+
domain = XmTestDomain()
try: